package com.example.app.activemodel.strategy;

public class Context {
	private Strategy strategy;

	public Context(Strategy strategy) {
		super();
		this.strategy = strategy;
	}
	/**
	 * 加密的方法
	 */
	public void encrypt() {
		this.strategy.encrypt();
	}

}
